Pass mirrorRoot as argument to WriteItemToDisk()

So that WriteItemToDisk() doesn't need to care about configuration; this
should be handled in `main.go`.