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