Mention valid extensions in "invalid extension" error message