Merge "maintenance: Replace custom .ext extraction with pathinfo()"