# Functions
Create creates a new file at a temporary path that will be renamed to the supplied path on close from a temporary file in the same directory, ensuring all data and the containing directory have been fsynced to disk.
CreateFile safely writes the contents of data to filePath, ensuring that all data has been fsynced as well as the containing directory of the file.