fix file upload extensions