replace illegal file name characters