Code should be pretty self-explanatory. This should resolve potential conflicts with extensionless files and folders and also ensure those files are exported with a known good extension.
Ideally we should probably prefer the guess_extension method's return over a resolved path's extension, however this should be done in a way that doesn't require reading an entire wad file, potentially even multiple times, so that's for later.
Code should be pretty self-explanatory. This should resolve potential conflicts with extensionless files and folders and also ensure those files are exported with a known good extension.
Ideally we should probably prefer the
guess_extension
method's return over a resolved path's extension, however this should be done in a way that doesn't require reading an entire wad file, potentially even multiple times, so that's for later.