Refactor integer_to_string_padded() method. Small cleanup