silly monkeypatch to avoid the issue in paperclip 4.0/4.1 as described in https://github.com/thoughtbot/paperclip/issues/1470