Initial import

Not necessarily working yet, apple's sandbox supports multiple writes,
but I just get EOF on all reads.