Include 'libgen.h' in 'tape'

'basename' is not declared on Darwin unless 'libgen.h' is included.

Signed-off-by: Jussi Virtanen <jussi.k.virtanen@gmail.com>
Merge pull request #10 from jvirtanen/fixes/tape

Include 'libgen.h' in 'tape'