minor setup.py cleanups (use "with" to always close files, always load relative to BASEDIR)