Save to tmp for mac