How to give temporary file access permision to a sanboxed package in runtime?