Add fallback of attach file creation in /tmp