[sftp] keep backwards compatible to < 0.8
0.8 is fairly new and may not be easily available for everyone