Clean up the tmp files we leak.
Merge pull request #33 from jordandukart/7.x-derivatives-clean-up

Clean up the tmp files we leak.