Updated WriteRecords to return true/false based on whether it wrote rows.