Revert bundled hash writer; add threadsafe counter to hashtable