Fixed encoding issue when creating valid binaries list