Use multiple dirs for cached output.