This is due the Permissions. Be sure to set all permisions so app can do all that.
If problem persist, try to save/export in a folder inside the app instead of outside if you/app not have the privilegies to do that.
Thank you! It actually works now, I have to save/export inside the app instead of outside.