Normalize encoding and line endings (UTF-8, no BOM, LF).