ensure directory clean between snapshot script tests