tmpfile.close()
proc = Popen(
- split("tar --exclude-vcs --exclude=./tmp --exclude=*.deb -zcf {0} .".
+ split("tar --sparse --exclude-vcs "
+ "--exclude=./tmp --exclude=*.deb -zcf {0} .".
format(file_name)), stdout=PIPE, stderr=PIPE)
(stdout, stderr) = proc.communicate()