Add try cycle for file writing

It checks if there are problems to open *.vrscene files when the exporter writes, due to large scene file.
It tries try_limit times to write the file, waits try_time seconds between tries.