When formatting a file that contains a UTF-8 BOM the result will include a newline character. Hexdump before: 0000000: efbb bf23 696e 636c 7564 6520 3c69 6f73 ...#include <ios 0000010: 7472 6561 6d3e 0a0a 7573 696e 6720 6e61 tream>..using na Hexdump after: 0000000: efbb bf0a 2369 6e63 6c75 6465 203c 696f ....#include <io 0000010: 7374 7265 616d 3e0a 0a75 7369 6e67 206e stream>..using n Tested on revision 193745 on Linux, Debian Testing.
Fixed in r194576.