Change option 'delete' to False for tempfiles