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