function tryStat(path) {
  debug$4('stat "%s"', path);

  try {
    return fs$j.statSync(path);
  } catch (e) {
    return undefined;
  }
}
Set the charset in a given Content-Type string.

@param {String} type
@param {String} charset
@return {String}
@api private