[trunk] WIP: fix bug with windows platform and j2k_dump