Rename writeob => writeOutputTo, to comply with the naming standard