Added AVATAR_USE_USER_ID option to use the user ID instead of username for directory.