Use str::raw::from_buf rather than the deprecated str::raw::from_c_str.
Merge pull request #27 from servo/warning

Use str::raw::from_buf rather than the deprecated str::raw::from_c_str.