Clear ticket locks on logout

Remove any ticket locks staff has on logout.

PS: set ff to unix hence the file rewrite.