A simple utility to encode a file (or any other data) into a Go byte array.