Like all the operations on an InodeFolder, we assume that a lock is taken on the folder before reading or writing to it, so this should be safe.