Add print magic, for IPython 3