Ensures that resource path ends with a slash #5