fixed bug in generation of '.hgrc.private' file