Fetch the outputDate from outputAttrs, not inputAttrs

Fixes checking the timestamps. We were always reporting files as
up-to-date without this fix.