fix unicode encoding error.
fix plugings directory is missing.