libdxfrw: change handle from string to int