added function to retrieve local filesystem URL, for https://github.com/MartijnR/enketo/issues/296