Yeah, I don't like it either, but I'm not really sure what our options are otherwise.

I could add an assertion about the last 3 path components of `__file__` so that we know when something goes wrong immediately...