CORE-4768: Fixed an issue where a trailing slash was causing a "File not
found".