Removes the subdirectory after tmp