Fix copying cert .dist file