Fix remote file paths on Windows at pre-upload check

This is an addtion to #23 which fixed directory separators on windows (backslash to forward slash).
The fixed path names should also be used at the pre-upload check to avoid confusion.