bugfix: the fd read and write callbacks were not properly set for FDs coming from proc