yaffs direct: Add proper error handler for too many files open