Fixes hashing symlinks