Fix: On server I have to work with, ssh2_ftp_mkdir only succeeds if $dir doesn't end with '/'