Add reading encoded file from disk if present

This commit adds the ability to send pre compressed files if present
instead of compressing the file on each request.
Merge pull request #270 from jkm/use_encoded_file

Add reading encoded file from disk if present. See #143.