Creates a new file with an updated type

import { updateFileType } from 'filepond/utils';

const jpegFile = updateFileType(myFile, 'image/jpeg');