Remove the duplicate trailing newlines characters

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>