add parse_status_file() function for parsing dpkg status file