[PATCH 1/4] kdump-lib: Don't abuse echo, and clean up