code: function _removeFailedInstallation(installDirectory) {
      fs.remove(installDirectory, function (err) {
          if (err) {
              console.error("Error while removing directory after failed installation", installDirectory, err);
          }
      });
  }
docs: Private function to remove the installation directory if the installation fails.
  This does not call any callbacks. It's assumed that the callback has already been called
  and this cleanup routine will do its best to complete in the background. If there's
  a problem here, it is simply logged with console.error.
  
  @param {string} installDirectory Directory to remove