sync directories before returning from set-env!