fix files encoding