backuppc: Fix JS errors where filenames contain whitespaces