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