minor Py hex version fix for patch level when Py_hash_t was added (just in case someone still uses Py3.2 alpha versions)
replace open(filepath).read() anti-pattern by code that safely and timely closes the file
try to make test runner more robust