Use winsaveview() instead of getcurpos()

- getcurpos() is relatively new function, so vim on travis doesn't have
  it...