StringUtils.extendToLength now handles non-string input