quasi-support for file handles as pipe objects on linux