misc cleanup
preserve exif headers when auto-orienting