Use resourceForkIO

Fixed failure possibly related to https://github.com/snoyberg/conduit/issues/85