Fix #2184. findExecutable checks if file has execute permissions.