Fixing minor bug with stopping once EPS is generated if a different file format was not requested.