fixed: Reverse path substitution (for some cases)
changed: Improve SFTP logging
Merge pull request #3598 from arnova/improve_sftp_debug_log

changed: Improve SFTP logging