Removed unnecessary Mercurial ignore file.
Converted the script to use python3.