wscript: fix py3k incompatibilities
add a .gitignore