Fixed code in the hdf metadata scan function.

This function calls system to get a listing of files to parse.  This commit fixes
a incorrect hardcoded part of the command and transitions from `ls` to `find` to
get the file listing.