added support for gzip and bzip2 in giza and moses formats