<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def checksum(self, path, hashtype='sha1'):
 """Returns the checksum of the given path."""

        return self._handler.checksum(hashtype, posix_path(path))