Handle file size 0 when calculating percentages

Return percentage done as 100% when file size is 0 (to prevent division
by zero exception from being thrown)
Merge pull request #253 from ERufian/master

Handle file size 0 when calculating percentages