maint: fix dd nocache test to be independent of current stdin