remove all characters '\/:*?' in file name because they may make file path invalid