Win32 had a separate implementation for FileOutputStream::CANCEL Logic was added to the other platform function, but forgotten in this one. This merges the functions into one, as only the call for file deletion is platform specific.
flags