Fixed loader to also deal with compiled python files