This pull request contains a fix for #10.
It follows the proposed implementation strategy and shortens file names longer than 255 characters. In order to keep them uniq, a SHA1 hash of the remaining string is attached to the name.
Shortening overlong report file names
This should work around file name restrictions on most file systems.
Superseded by #37. Thanks for submitting, sorry I didn't merge it sooner!