Create threaddump.sh