Proper and consistent use of `path.extname`