Fixes to support pdksh; there's still a bug that prevents it opening FIFOs