fix head param to be compatible to OS X
call head using the documented parameter -n 1 instead of the undocumented -1
Merge pull request #9 from stefanklug/master

fix head parameter to be compatible to OS X (And we get BSD compatible too)