Allow per post permalinks to end in `.htm`
Fixes #2920