Fixes bug in return value of getdents64