Fix bug in pdf creation (instance variable was nil if create! failed).