[tor-commits] [snowflake/master] Add locks to safelog