Minor fixes

Hi!

  I've made some fixes for large file support and long paths ;-)

Cheers,
Ignacio.