Add atomic option for FileSystemRepository