ACCUMULO-2891 check for masters file before grep

Check that file exists
Before we try to open it
Be one with all things