[T8613] Add support for Octave and also move current directory for Octave session, loaded from file, to directory of the file