Add support for more file extensions.

`.hh` for C++ headers, and `.cu`/`.cuh` for CUDA files.