makeWritePowersSloppy = ({ fs, url = undefined }) => {
  const fileURLToPath =
    url === undefined ? fakeFileURLToPath : url.fileURLToPath;

  /**
   * @param {string} location
   * @param {Uint8Array} data
   */
  const write = async (location, data) => {
    await null;
    try {
      return await fs.promises.writeFile(fileURLToPath(location), data);
    } catch (error) {
      throw Error(error.message);
    }
  };

  return { write };
}
The implementation of `makeWritePowers` and the deprecated
`makeNodeWritePowers` handles the case when the `url` power is not provided,
but `makeWritePowers` presents a type that requires `url`.

@param {object} args
@param {FsInterface} args.fs
@param {UrlInterface} [args.url]