Fix problem with opening files in UTF8 encoding.

At now all files opening as UTF8 encoded. All unicode symbols in files reading good.
Fix error in `assign_editkey`.

At now `assign_editkey` can recieve `value_regexp` for search key to replace.