base-files: Use printf instead of echo to return value from function
Command echo without "-n" argument return not only value but also LF char, what is not inteded to be returned from the function.
Command echo without "-n" argument return not only value but also LF char, what is not inteded to be returned from the function.