Fix #626, this will prevent the disk space collector from getting wedged and preventing metrics from being collected
PEP8 fixes