Common: Move getFileExtension() to header
hdf: Replace findKey functor with lambda in hdf::Node::findValue()