Append to log file instead of overwriting

Use RotatingFileHandler in place of basicConfig.

Fix #41