Do not check filename over and over again, remove '.' and '..' from the map instead.
Merge pull request #420 from bantu/sftp-skip-current-dir-by-removal

SFTP: Do not check filename over and over again, remove '.' and '..' from the map instead.

* bantu/sftp-skip-current-dir-by-removal:
  Do not check filename over and over again, remove '.' and '..' from the map instead.
Merge branch 'master' into php5

* master:
  Do not check filename over and over again, remove '.' and '..' from the map instead.