Rm and Mkdir bug fixes from GNU coreutils tests