append newline to support _mem and multiple GPUs

Memory used percentages were being concatenated into a single string if multiple GPUs were present, e.g. both using 30% would print mem0.value 3030 mem1.value