Fix typo to unbreak logging to stdout

Without this change, handyrep erroneously generates a stdout file instead of writing to stdout. This is a fix to my earlier patch.