path_traversal: Updated signature to work for BSD's /etc/passwd