Overwrite issue with filenames in file upload class