Fixed file upload overwriting problem.