Initial refactoring of "FILES" handling for buildbot archive/staging scripts.
Initial refactoring of "FILES" handling for buildbot archive/staging scripts.

This is just the first step, mainly to fix a breakage on the Linux 64-bit
Official builder, so the existing "FILES" handling is still mostly intact.

Review URL: http://codereview.chromium.org/1570001

git-svn-id: http://src.chromium.org/svn/trunk/src@42965 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: 3d836d7abd2077bdafdfa2b08ea864982a794291
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser