Fix files upload.