avoid exception on empty content.

If file exists, but is empty, compression will throw an exception.  No compression needed, move on.