Add -S option to tar for efficient sparse file handling

Fixes issue #3282