Replace invalid project characters with '-'