Fix for incorrectly named export function in interface

xidl describes the export function as being named exportTo, while only export is exposed.
Merge pull request #2 from dwattttt/patch-1

Fix for incorrectly named export function in interface