Fixes and logging for makefs script

- Add logging for all steps
- Fix bug that would sometimes cause target partition for ISO to be incorrect