Fixed problem where empty files turned into dirs.

Previously, filesize was used to determine whether a tar.gz'ed file was
a file or directory. package:archive has now been updated to expose an
'isFile' flag.

R=tapted@chromium.org

Review URL: https://codereview.appspot.com/73980043