Fix format filter handling of leading sign.

Before:
```
"%+05d"|format(123)  == "0+123"
"%+05d"|format(-123) == "0-123"
```

After:
```
"%+05d"|format(123)  == "+0123"
"%+05d"|format(-123) == "-0123"
```