Use aerofiles for task file writing

The [aerofiles](http://aerofiles.readthedocs.org/en/latest/) library is well documented and has a large unit test suite. It reduces the amount of code that needs to be handled by prosoar, since only the glue code remains.