[BUG FIX]Don't set encoding when content is not text
Version bump: 0.1.7 -> 0.1.7.1