Fix timestamp reading for symlinks