Fix strip-trailing-spaces not support filename with space