Add \n on write file