Workaround for ExifInterface only supporting paths