Added \x00 symbol to pdf whitespaces. Slightly refactored utils module.