Port to lio 0.11

Still need to test, quickcheck-lio-instances isn't ported yet.