This patch constructs the default history file in a more system-independent way.
This avoids ending up with a history file like "D:\\/.octave_hist", which is wrong
under MSVC ("D:/.octave_hist" and "D:\\.octave_hist" are OK, but the
successive '\\' and '/' is not)