Add -S option to tar for efficient sparse file handling

Fixes #3282