test_StandardPaths: Replaced mkdir with mkpath

mkpath will recursively create all necessary directories in the path if they do not exist.