Override __os_install_post to fix .pyc/pyo magic
upstream 4.1.3