s/abspath/realpath/ for Python and symlinks