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