Change results directory handling a bit

- Migrate the integration ids dir under the results dir
- Change os.mkdir to os.makedirs to ensure intermediary dirs exist,
  as this stuff change often and it's becoming tedious to check this
  manually