Two fixes for package xml exports

Without the .items() you have the error:

```
[error] too many values to unpack : <type 'exceptions.ValueError'>
```

The space also makes sure the tag and attributes are separated.
Merge pull request #41 from stonier/patch-2

Two fixes for package xml exports