Fix for handling windows files

When replacing "\" with "/" in Windows files, this updated file_key is not being used to upload the files.

This fix worked for me, but have not thoroughly tested.