Create thread_dump.sh