Set up recording and logging folders.