Problem: The write message mentions characters, but it's actually bytes. Solution: Change "C" to "B" and "characters" to "bytes".
Problem: No test for diff mode with syntax highlighting. Solution: Add a test case.