Cleanup line endings (remove UTF-8 marker)