Stop leaking files on derivative creation.
Merge pull request #74 from jordandukart/7.x-leaky-files

Stop leaking files on derivative creation.