Fixed AWS file upload