Fix #3. Backport print function for 2.7.
Prepare for 0.1.1.