Bug Fix: Base64.encode does not properly handle nulls