Fixed mi file IO

WriteMiText.m didn’t write fields of type ‘logical’.