revisited 1082a5c

better use the hook, if available, but still left .htaccess file and .thumbs dir exludement where this was necessary