python3: fix install issue when detected filesystem encoding is ascii