bugfix: d_reclen doesn't contain the length of the name