[PATCH v1 3/3] kunit: fix bug of extra newline characters in debugfs logs