MOBILE-570 Use toNativeURL

Phonegap Build uses an old file API version