I guess you should use `realpath()` to prevent issues with some OSX.