Simplify `Temp*` context managers

Change-Id: Ib156664d85d87e885b7cee07a4cea348edce7a8b
Use `six.reraise`

Change-Id: Ia2431a3dea4dc8b413afa9167342acbe22981f12
Enhance reraise behaviour in `handle_process_execution_error`

Change-Id: Ie85e71e654a9ad2df46ab7e8a47c23112b7363d5