[misc] fix usage of relative directories for driver files

* Also fix export of .sh files from github archives
* Issues reported by Andrey Gursky
* Closes #4