Fixed FileWriter not callable more than once
Removed debug trace
Corrected test
Merge pull request #886 from akeneo/fix/file_writer

Fix/file writer