Fix file creation

Ensure checkPath passes the actual file path to its callback, so that files are created in the right directory instead of the torrent basePath.