I think you need to speak to the capacitor manufacturers regarding chemical resistance of their encapsulants. I think most epoxy sealed types will be ok, as will the majority of plastics, but you must verify this. Most fuels are solvents to a greater or lesser degree.