don't try to decode textual content when no encoding could be determined

this happens for empty files, for example