Make ruby 1.8.7 about base64 encoding

Simple fix. Technically whitespace is permitted in a data-uri, but it seems to be a best practice to remove it. tr does the job lightning fast.