Fixed ftp bug where dir wouldnt be created