Call #to_pem before recipe DSL

Fixes #10, calls `#to_pem` on cert and key before passing local variables to `Chef::Resource::File`.
Merge pull request #11 from racker/fix_chef12_martinb3

Call cert.to_pem before recipe DSL