Switch on file logging in collect.py

This had been switched of during early development and needs to be
re-enabled.