Update readerchunkedresult.php

ob_end_flush() may write content, causing header() to fail in MgHttpChunkWriter. This is fixed by re-ordering the calls so that header() is called before ob_end_flush(). Fixes #67