Fix for not saving robot programs

It was Windows-only bug.
issue #137