Well there's always the speculation that games will start to use 8 cores since both of the CPUs in the new consoles are basically underclocked AMD 8-cores. That said, the i5 is currently better since it has better performance/core. As you can see, I personally got the 8350 and I can recommend it; It's a really good chip. But if you can find the i5 for less than 200$, go for it. You can't really go wrong with either of these CPUs.
There's also the third alternative, the FX-8320. It's probably the best alternative at the moment since you can get it for $135 and it's basically just an underclocked 8350:
PCPartPicker part list:
http://pcpartpicker.com/p/lb8f
CPU: AMD FX-8320 3.5GHz 8-Core Processor ($134.99 @ NCIX US)
Total: $134.99
(Prices include shipping, taxes, and discounts when available.)
(Generated by PCPartPicker 2014-05-22 19:37 EDT-0400)