adding '\r\n and not only \n to the maintenance file.