Close the tempfile after formatting

The tempfile should be closed, because we're not writing to it.
Don't use escaped path in #format

Windows can add escaping, and then it could happen when we format to the
same format that we delete the image entirely.
Bring back MiniMagick::Image#destroy!

CarrierWave uses that method, and maybe some others, so we still need to
keep backwards compatibility.