Change file name to correct syntax when rotating logs

I believe you can do this by subclassing the handler and writing your own namer to generate the filenames you want. I haven’t done this before, though.