agent: Use FileUtil.readFileAsString for reading RX and TX bytes

Since we already have this un utils it's better to use it here
then do the whole File/FileInputStream magic.

Keeps the code simpler and more readable.