escape the reserved file name such as COM3