Add Folder column to Details sync protocol

Also fixes padding

Fixes #1037