Ensure tmp filename is either copy or empty