add ->has_encoding to files

This allows an EncodingProvider to tell whether it makes sense for it to examine the encoded_content and set the encoding.