write STDOUT file in target/test dir