Simplify os.ModeType|os.ModeCharDevice => os.ModeType
Simplify os.ModeType|os.ModeCharDevice => os.ModeType

Since Go 1.12, ModeCharDevice is included in ModeType:
golang/go@a2a3dd00c934fa15ad880ee5fe1f64308cbc73a7

restic/restic,restic/restic