Use std::fill_n, now that _SCL_SECURE_NO_WARNINGS is defined.