OC-1865: Isolate code from CreateFolderOperation to remove dependencies on local storage