BUG: corrected a few bugs for file compression using gzip
NEW: new script for changing image voxel type