improve SVN pre-commit hook: skip directories and strip temp path from messages