Fixes issue #34: filenames with underscores no longer break logs.

May need to add more replacements (&, %, ... ?) but that should be easy now.