Add cdvfile compatibility

Replace url with the real file path if it contains cdvfile://