Simplified file operations.
Merge pull request #37 from tarbrain/master

Add an option to define the output directory for cobertura xml reports.