Follow symlinks and strip extension from last dot only