Fixed writing logs to file (python 3).
Fixed writing logs to file (python 3).

PeteAndersen/swarfarm,porksmash/swarfarm,porksmash/swarfarm,porksmash/swarfarm,PeteAndersen/swarfarm,PeteAndersen/swarfarm,PeteAndersen/swarfarm,porksmash/swarfarm