Use context managers for write and get_and_write_file.
Use context managers for write and get_and_write_file.

Signed-off-by: Chris Lalancette <281cd07d7578d97c83271fbbf2faddb83ab3791c@gmail.com>

clalancette/pycdlib,clalancette/pyiso