Remove flush() and ob_flush(). Closes #1515