Perl XS bindings to Staden's io_lib