Properly report file enumeration error.