main: use (err, passed) signature for async validation callback and change buffered file indicator