binwrite should pass write only when options are not empty but don't have a "mode"
Merge pull request #763 from josedonizetti/io_binwrite

binwrite should pass write only when options are not empty but don't have a "mode"