follow gulp plugin guidelines

errors need to be reported and file.contents should always be a buffer.