waf: get list of file and directory names from os.listdir()

* Remove the hardcoded 'shell-init' and 'etc' and settle for
  using os.listdir() to get a list of files and directories
  in the rootfs directory.