Write cpp code to Create a secure file writer with directory creation using N/A. accepts file path and content; validates path; creates parent directories safely; writes content atomically. Structure the project as: src/, utils/file_writer.cpp, validators/path_validator.cpp. Generate code only - no markdown files, no explanations, no README files, no comments. Keep output concise and purpose-ready.