Fix stages files being commited.