Update ywriter_5

Update to reflect changes on POL:

*change temp directory to use POL's built-in tmp folder instead of creating a new one.

*removed lines that create/delete tmp folder in ressources.