This is almost certainly https://github.com/mozilla/rust/issues/5941, you can work around it via

```rust
(safe_unwrap!(file.read_to_str())).into_bytes()
```