Support to make TrexUpload objects from filehandles