fix filename used in _beforeUploading (filebase.js)