close report file after writing
Merge pull request #75 from jonaswitt/master

close report file after writing