Keep temporaries for reuse, cleanup before pull (fixes #849, fixes #841)
Merge pull request #853 from AudriusButkevicius/unfinished

Keep temporaries for reuse, cleanup before pull (fixes #849, fixes #841)