remove_dot_segments moved to utils module