use locale_encode() for lib_dir #428
use locale_encode() for lib_dir #428

when a string is passed from python to C++, convert it into locale encoding, or it will fail if you try to pass it to OS API as file path.
yuanming-hu/taichi,yuanming-hu/taichi,yuanming-hu/taichi,yuanming-hu/taichi