Alternatives module to use os.readlink instead of os.path.realpath. Fixes #6162.