Only digits will output from config files

Removed the chance of carriage return and made sure only digits are
output. Should help reduce the chance of off things being output to the
port vars