Fixed file upload bug.