ContentModel: Don't confuse file path with file name (Fixes #1352)