Using os.path.isfile to test for path existance as well as access
More descriptive error messages
Merge pull request #1 from odeke-em/master

Detecting if API key file is regular before opening it, as well as checking for read access permissions.