Fixed use statement conflict
Fixed the feature on Unix systems

The Yaml dumper is quoting values containing a space but not values
without spaces. The default temp folder does not have a space on Unix
systems, while it depends on the user name on Windows.
Removed usage of the deprecated class on Symfony 2.4+