Enhancement - ResourceHandler Encoding

Add ability to specify encoding and include a preamble with using the `ResourceHandler`.

Resolves issue #689 
Preable -> Preamble