SFTP: make mode an alias of permissions for stat