grc: fix usage of file descriptor source/sink