Revert "Ensure env variable contain only utf8 strings."

This reverts commit 2348aa1863c2bd0c536f29c510a97fbc85a2ad89.