Apparently cwd accepts only strings.