use os.path.realpath, as recommended in #105