Better thread cleanup

Use globbing and `{TID}` to ensure that `.remove()` cleans up all thread-related mmstats files, not just the master or current thread's file.