Ensure .htaccess is not left writable in public, private or temp directories.

Signed-off-by: Dan Bohea <git@bohea.co.uk>