list file extensions in a subdirectory recursively (bash)