move .hg/topic-namespace check/removal from reading the file to acquiring wlock
The end goal is to untie the cleanup/removal of the .hg/topic-namespace file from any specific tns-related function.
This is one way to perform the action when someone tries to acquire wlock.