Fixed deleting directory when the directory does not exist in the writable branch
Fixed FileDirect when path does not exists in the branch
Create only the base directory for FileDirect from the factory.