Temporary fix for kdirent reading