Support loading gzip files as models

This branch will try to load gzipped models when raw text models are unavailable.