code: function basename (filename, ext) {
    return path.basename(
      filename.replace(/^[a-zA-Z]:/, '').replace(/\\/g, '/'),
      ext
    )
  }
docs: Use a custom basename functions instead of the shimed version because it doesn't work on Windows