Cleanup mktargets.py

1.Remove semicolons
2.close file