Keep in mind that if you buy a replacement sail from anyone besides Hobie, you will eliminate yourself from class racing, the most fun racing there is. I just checked prices for factory H17 sails on the Mariner Sails site,
http://www.mariner-sails.com. A new Hobie factory white main will cost $1232, a custom colored sail will cost $1480. Both factory sails will cost you less than your square top estimate. Will you notice a difference in speed with a square top? I don't know. As pointed out above, without spreaders and diamond wires and with a comp tip mast, you won't be able to harness all of the extra power up top. You'll aslo get more heeling moment. Your rig isn't designed for a square top. Unless you are sailing with other H17s, I think it would be hard to notice any minor increment in speed that a square top might yield. And if there are other 17s to sail with, that's another reason to keep it class legal, so you can compete with them at Hobie regattas. I just bought a new main and jib for my H20. I went with class legal sails.