Add utils.fout method for output.