Use raw bytestream when writing files
Use raw bytestream when writing files

This patch forces write_file_if_contents_differ/2 to use raw bytes as
when writing files. This fixes an issue where UTF-8 characters are
processed and written back as ISO-8859-1 into the file, which makes it
impossible to use UTF-8 characters in .app.src files.

fabiankrol/rebar3,project-fifo/rebar3,processone/rebar3,project-fifo/rebar3,processone/rebar3,djnym/rebar3,fabiankrol/rebar3,rebar/rebar3,benoitc/rebar3,norton/rebar3,linearregression/rebar3,sile/rebar3,jbalint/rebar3,walrusVision/rebar3,surik/rebar3,vladdu/rebar3,lrascao/rebar3,linearregression/rebar3,benoitc/rebar3,rebar/rebar3,ferd/rebar3,erlang/rebar3,saleyn/rebar3,jbalint/rebar3,walrusVision/rebar3,fauxsoup/rebar3,sile/rebar3,surik/rebar3,tsloughter/rebar3,fauxsoup/rebar3