SFTP: change the mode with a SETSTAT instead of MKDIR (#1463) SFTP: make it so extending SFTP class doesn't cause a segfault (#1465) Random::string didn't always return all the requested bytes (#1466)