SFTP: fix an issue with the stat cache
Merge pull request #403 from terrafrost/stat-cache-fix

SFTP: fix an issue with the stat cache

* terrafrost/stat-cache-fix:
  SFTP: fix an issue with the stat cache