Modified file handle to be unbuffered, rather than fflushing every time we
print a character. Should make it more efficient since we only have to make the
handle unbuffered once, whereas fflushing happens every time.