Fix template zip file download invalid on windows