- create temporary file in same directory as target for save_write