Follow-up to https://phab.comm.dev/D14751#inline-81041.
This allows using predefined path to avoid need to persist it on web, we can use const as previously. This is also prerequisite to ENG-10786 because with this change, we can either decrypt database and use encryption on a different layer (web) or just avoid creating plaintext file (native).
Added comment to explain how it works.
Depends on D14755