Fix for bd7dc4d60 which broke the build (null bytes where not sanitized)