Fixed rm toy: Paths should be checked whether doesn't indicate to directory befere unlink (some systems allow to remove directory by unlink).