Avoid too many open file descriptors.

Within a big batch operation Paperclip is at risk of creating too many
Tempfiles before flushing. Migitate with

    Paperclip.close_and_reopen_tempfiles do
      execute_batch
    end