Use enum for the unknown file policy
Modern python version are supporting enum, we should use them instead of hardcoding strings.
Hello! We are running our annual fundraising. Please consider making a donation if you value this freely available service or want to support people around the world working towards liberatory social change - https://riseup.net/donate
Modern python version are supporting enum, we should use them instead of hardcoding strings.