Handle file names with spaces in them

- Save plexdata during upgrades