First attempt to support binary files and unicode data