exif data and autorotate calls moved to load function to work also when use a stream wrapper