RawFileStorage: Use flush() instead of inline code.