Fetch NameErrors as well as IOErrors in scaled_image()