Better path impl for password file.