thoughtbot/paperclip — pull request #1666 by peterpengnz (2014-10-01 22:39:19+00:00)
Title: Adding -r option to file command

Adding `-r, --raw` option: Don't translate unprintable characters to \ooo.
Normally file translates unprintable	characters to their octal representation.

without `-r` option, the file command some times return file type with `\00` like characters.

For example:
On CentOS 5 and file command version 4.17
Test the mime type for a aiff audio file.

```
file -b --mime mono_normalized.aiff
audio/x-aiff\011
```

with `-r` option:

```
file -b --mime mono_normalized.aiff
audio/x-aiff
```