'str.removesuffix' is only available in Python 3.9+. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>