Fixed pass-through to fetch file descriptor using a pointer