Python Fortran import hook