fixed a condition where re-uploading a file that's already stashed causes breakage...