Use os.access() instead of os.fstat() to check for execute permissions

This is more readable.  The semantics differ (executable files that
you don't have permission to execute won't be detected as executable),
but I don't see any situation where this might be a problem for
ghp-import.