The greenback rallies to a three-month high as the Middle East conflict sparks fears of a sustained rise in energy prices.