Abstract and use a common safe str_pad()
Fix copy pasta
Merge pull request #56 from wp-cli/safe-str-pad

Encoding-safe string padding