Remove assumption that __file__ always exists.

site.py assumes that the os module has an __file__ attribute,
however, this is not true in the case where os has been frozen.

In this case, just do our best by returning os.curdir.