-Fix: compare against six.string_types.

six.text_type can throw errors if the result is an empty string in
python 2.7, where six.string_types will correctly detect it.

Mind, this should only occur when {% compress %} will yield no output (which is a rare case, but still).