Walk file tree in order for deterministic builds

Python's `os.walk` does not order the lists of files and directories it returns, so in order to produce a consistent build context tarfile, they should be ordered.
Merge pull request #388 from leth/patch-1

Walk file tree in order for deterministic builds