Properly scope calls to call().

Closes #1099
Fix Travis by adding a 1.8-compatible shim for File.absolute_path.