normalize line endings across platforms