Update dhsnapshot.pl

fixes #3