Add folsom style rstrip for tokens

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>