POA activities: add TMP_DIR support.

To match POA code that uses a temporary directory now.