add concurrency tests
fix race where two requests compete for same file
wip: test utils to flush out races
fix a race on HEAD of partial file, still more races