Fixes rbenv on OpenBSD and any other systems that don't support head -c
Merge pull request #521 from wmoxam/master

Fix rbenv on OpenBSD

Fixes #519