add fallback write(IO, Ptr, n), which allows cairo surfaces to display in
the notebook. (Base64Pipe lacked this method)
Merge branch 'master' of github.com:JuliaLang/julia