fflush(nullptr)
This caused all open file streams to be flushed. This commit also changes `FILE::create` to handle buffer allocation failure gracefully.