solutions/max_kaskevich/3: fixed pull request issues.

std::fstream constructor using;
magic number 12 in 3_5.
end write by non const arg in 3_6.