Implement SysAllocStringLen and use instead of SysAllocString. Closes #29