Fix set proper basename for file during import#upload