merge patches from wouter van heyst and john arbash-meinel for fixing tarballs on os x, and fixing md5 on linux