fix pylint errors
remove template output files on cleanup

If the output file of a template exists, cleanup action now removes it
along with resources in Libvirt.

Fixes #29.