Revert "Don't generate unique locks for file editing."

This reverts commit eb829195c4bdd56f631884f29dce5b4a57a0658c.

Broke:

./10_files/09_insert_lines/019.cf FAIL (UNEXPECTED FAILURE)
./10_files/09_insert_lines/020.cf FAIL (UNEXPECTED FAILURE)