Add nif support for the strings_as_binaries option