util.pposix: Verify that file handle is open
Merge 0.9->0.10
Merge 0.10->trunk