Fix various warnings about unclosed files etc. There's still hundreds of warnings coming from inside ReportLab and PIL
Merge branch 'py3' of https://github.com/kylemacfarlane/z3c.rml into py3