change cafile_path format to work with both windows and unix environment