Check if an entry is a regular file