Creates new file on a server side.
True if operation was completed successfully, and
CreateFileSync returns handle to the newly created file.
Use CreateFile method to create a file on a server side asynchronously, and CreateFileSync to create a file in synchronous mode. If the file was successfully created, the OnOpenFile event is fired. The OnError event is fired otherwise.