added xsys_fileno() for OSX... following b8826c4