Fix bug with ftp adapter and main directory creation. Thanks to @hason
and base on his PR https://github.com/KnpLabs/Gaufrette/pull/128