Prevent buffer overflow when using a scriptlet shell with a long path Observed in Nixpkgs. Fixes #157. Signed-off-by: Allan McRae <allan@archlinux.org>