Check for and create a packets directory if it doesn't exist