Fan inlet and outlet expansion joints