Changed mkdir setting from permissions to mode

ssh2 module changed property from "permissions" to "mode"

https://github.com/mscdex/ssh2/commit/2081bff14a7e58195758cb9990e8cb8db1a3c1a6