some fixes in message generator, sender, receiver, file_based_utils

Signed-off-by: Andras Mitzki <mitzkia@gmail.com>