Chomp command output so it doesn't have blank line at end