Update to wait-for-file with bug listed in TODO and removed `set -x`