After poking at the test in the original patch, I've abandoned the revert because I forgot about the behavior in the key loader that skips non-numeric file names (so 0.tmp would be skipped, even if it was empty, thus avoiding the issue).
After poking at the test in the original patch, I've abandoned the revert because I forgot about the behavior in the key loader that skips non-numeric file names (so 0.tmp would be skipped, even if it was empty, thus avoiding the issue).