fix posix fd based input stream for non regular files