[ts.parse] Exclude _dirs in file finding

dirs starting with an underscore are not meant to be searched for images
etc. This excludes these dirs.
fixed dtype mismatch error