This error message gets printed out the very first time when the directory of temporary files does not exist yet.  So replace with:

```
    // We expect an error if the cropped directory does not exist yet,
    // so only report it if it is something unexpected.
    if (cursor.error.name !== "NotFoundError") {
      console.error('Failed to clean temp directory', cursor.error.name);
    }
```