2 things:
* you should use fperms helper function
* this needs to be run in a ABI specific scope as the file is in python_get_sitedir