BOBConverter: fixed some toTextFile() methods.