Return empty twine from getBase64 instead of throwing an exception.