Bulk extractor module support

This code adds a method to PlatformUtils and fixes a bug in ExecUtil.