fix: two small issues wrt. <0 file descriptors