libkmod-util: add helper function to write to fd
2 files changed