bug 1244: replace tabs with spaces