Use file to check if binary (nm fails if binary is stripped from symbols)
Merge pull request #2 from mikaoj/master

Use file to check if binary (nm fails if binary is stripped from symbols...