parse .wcnf file using ByteString instead of String to reduce memory allocation