Properly handle log symlinks with expanduser