List all unique file extensions from a given directory recursively