Fix wrong variable name. Maybe this was subtly breaking some temporary file deletion?