Fix ftp adapter for windows

Closes #148