`post.get_image_data()` can throw, creating file and later calling the function can create empty "image" files, confusing the program.
`post.get_image_data()` can throw, creating file and later calling the function can create empty "image" files, confusing the program.