SshServer: rename() retains the original permissions