Fix SFTP Directory Listing

This fixes fixes Issue #17, therefore fixing SFTP deploying.