trim whitespace from /proc information

closes: #2391