Fix insecure history file creation.
Fix insecure history file creation.

https://github.com/antirez/linenoise/commit/c894b9e59f02203dbe4e2be657572cf88c4230c3

gwenn/rustyline,dubrowgn/rustyline,cavedweller/rustyline,dubrowgn/rustyline,kkawakam/rustyline