In the moses scripts, zcat is used and it assumes that a .gz file extension is present in some cases. However, this depends on the vendor; in some cases, .Z is produced rather than .gz (since zcat is a link or duplicate to gzcat to maintain compress).
Files affected:
training/
clean-corpus-n.perl
combine_factors.pl
filter-and-binarize-model-given-input.pl
filter-model-given-input.pl
reduce_combine.pl
train-factored-phrase-model.perl
I note that the --suffix (-S) option does not seem to work on Mac OS X either, due to the POSIXy behavior of zcat.
However, gzcat works fine and doesn't care about the suffix.
zcat is typically gzcat with some changes that come with being invoked by 'zcat'; the man page says:
In POSIX mode zcat will append .Z to all filenames
that do not have that suffix.