Trim newlines from filename before creating a Problem.