Fallback to filename for .md files without first-line titles