Fix surface mass balance units.
Remove unused code.
Remove "sprintf" (one should never use sprintf).

Use snprintf if you have to.
Remove headers from CMakeLists.txt.
Clean up PSConstantGLINT2.{c,h}pp
desm silently segfaults if an output directory is absent.

Added assert statements that call abort() right after it fails to open
the file.