Add handling for very long path names.