Python script to generate custom background xml for gnome-background-properties