Make uploads work in all browsers for all file types