Fixed backslash escaping in sed expression
Fixed quoting strategy by simple quote only file path
Fixed cyg-apt program path on appveyor
Fixed the behaviour when the postinstall script fail