async function queryRead (fs, query) {
  var files = await fs.query(query)
  for (let file of files) {
    if (isFilenameBinary(file.path)) continue
    file.content = await fs.readFile(file.path, 'utf8').catch(err => undefined)
    if (file.path.endsWith('.json')) {
      try {
        file.content = JSON.parse(file.content)
      } catch (e) {
        // ignore
      }
    }
  }
  return files
}
@param {Hyperdrive} fs
@param {FSQueryOpts} query
@returns {Promise<FSQueryResult[]>}