That’s a limitation that’s being addressed and should be available from Legato 18.09. For now, what you can do is create files before hand in the directory that is outside the sandbox. The files will be available in the sandbox and you can write to them. Hope it helps.