Set backup and swap file directories.