Minor fixes

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