change output write policy, from default to append the file if the out file exists