Fix a bug that the kmz file cannot be downloaded correctly