test: Set test directory to be writable before writing into it (#12428)
test: Set test directory to be writable before writing into it (#12428)

Move chmod permissions for writing to new directory before executing printfs to verify text value treatment in the subdirectory.

Risk Level: Low
Testing: bazel test //test/common/runtime:runtime_impl_test
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Matt Tierney <16249151290280e199b6655652e1e2fd1c9d4db3@google.com>
lizan/envoy,envoyproxy/envoy-wasm,lyft/envoy,envoyproxy/envoy,lyft/envoy,envoyproxy/envoy-wasm,lyft/envoy,lyft/envoy,envoyproxy/envoy-wasm,envoyproxy/envoy,envoyproxy/envoy,lizan/envoy,envoyproxy/envoy,envoyproxy/envoy,lyft/envoy,envoyproxy/envoy-wasm,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy-wasm,lizan/envoy,envoyproxy/envoy,lizan/envoy,envoyproxy/envoy-wasm,envoyproxy/envoy,lizan/envoy,lyft/envoy,envoyproxy/envoy,envoyproxy/envoy,lizan/envoy,envoyproxy/envoy,envoyproxy/envoy-wasm