JPG image data returns correctly
Only write mediafiles when tags have changed