Use pythonic names for io functions.

As discussed in #287.