Get file hashes for a directory and subdirectories