Fix Paperclip's io_adapters to properly sanitize original_filename

This should allow tempfiles to be created such that "identify" (and probably
other imagemagick methods) don't flame out, and should allow us to fix most of
the issues having to do with special characters