if user sets 'write_files' to False or does not set value, then handle file write related operations. Fixes: #64936 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>