remove illegal char for file path