Project.pm: sanitize hooks directory on project creation