Output file respects relative path

Wanted to emulate the built-in xUnit plugin's output. There's a PEP8 fix for a line that was over 80 characters, too.