[Settings][Spices] Fix IO error

Fixes https://github.com/linuxmint/Cinnamon/pull/1709#issuecomment-13587248