Extend \Session_File::write(), don't write cookie if header already sent