create missing directories in atomic_configure_file (#566)