rm_end_space.py - add function for deal with file or dir.