Use standard and safer chmod 1777 on TMP dir created