prevent file extension lost in Upload Module