Fix for SFTP on windows machine

I encountered a problem with SFTP on windows (using bitvise ssh server).
The following change has resolved the problem for me.