Fix as per upstream changes.

Please, see the following for details:

  https://github.com/file/file/commit/07bdb1e0d5f91d4efbe718024cbed7a067294446

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Restore block for Rubinius.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>