add logic to deal with null bytestrings

@bryanduxbury 
CC: @square/cascading-contributors