Merge pull request #128 from cr1901/refactor-diamond

diamond*.sh: Windows and compression support.