add support for binary rbx, closes #1378