Fixing bug with dec2hexChar: if the string contains characters with ascii codes < 10 it doesn't pad with a 0.
This function is only used for debugging, so no functional changes should occur