use real paths to allow symlinks without dupes
fix symlinks in realpath test case
fix indentation
3.2.1