Implemented fd.pipe and fd.open, but fd module is broken - refs #11

Also converted all instances where I log errno to log the
strerror message instead.