provide META.json as a text file in UTF-8
log_debug when skipping non-text files
skip attempting to read "bytes"-encoded files in [PkgVersion]
use braced block rather than list of statements
correct careless syntax error