Normalize line endings in PHPT tests, fixes #1447