Redmine#4070: acceptance test for agent hang on identical dir+filename