use code instead of stderr, cleanup xunit so it writes all at once to prevent interleaving

for real this time.

oh, and magically reduced file size of xunit by 100x

@jnwng 

cc @dandixw 
why === when comparing to a string? i thought we reserved that for comparing to truthy values