Use cStringIO and fallback to Mointain Lion.

Use cStringIO when available.
Fall back to Mountain Lion packages.

Signed-off-by: Rudá Moura <ruda.moura@gmail.com>