`basename` doesn't work the same way on Windows