__create_file() doesn't need to check for a duplicate-key-error on insert,
if that happens, it's a locking problem.