update takesnap to fit centos-6