Move adapter template into subdirectory.

Also, uses `copy_file` instead of `template` to avoid manually escaping
the ERB tags.
Merge pull request #158 from rjackson/move_adapter_template

Move adapter template into subdirectory.