Upgrade unit test as Filesystem::dumpFile() does not exists before Symfony 2.3