handle uploading unicode metadata and filepaths