setStat method
Implementation
Future<void> setStat(SftpFileAttrs attrs) async {
_mustNotBeClosed();
final reply = await _client._sendFSetStat(_handle, attrs);
if (reply is! SftpStatusPacket) throw SftpError('Unexpected reply');
SftpStatusError.check(reply);
}