override __os_install_post to fix .pyc/pyo magic
upstream 4.0.1